package com.hsteach.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 申请状态
 * 0已申请，1已通过，-1已拒绝，-2已取消
 */
@Getter
@AllArgsConstructor
public enum ApplyStatusEnum {

    CANCEL(-2, "已取消"),
    REJECT(-1, "已拒绝"),
    APPLY(0, "已申请"),
    PASS(1, "已通过"),
    ;

    private Integer code;
    private String name;
}
